<template>
	
	<div>
		<div style="display:flex;align-items: center;">
			<div style="width:9%;display:flex;justify-content: flex-end; align-items: center;" @click="back"><van-icon name="arrow-left" size='26'/></div>
			<div style="width:91%;display: flex;align-items: center;">
				<form action="/" style="width: 100%;">
					<van-search
					  v-model="sortValue"
					  show-action
					  placeholder="智能积木 越野四驱车"
					>
					</van-search>
				    </form>
			</div>
			</div>
		{{$route.query.search}}
	</div>
</template>

<script>
	export default{
		data(){
			return{
				sortValue:''
			}
		},
		created(){
			this.sortValue=this.$route.query.search
			console.log(this.$route.query)
	},
	methods:{
		back(){
			this.$router.go(-1)
		},
	}
	}
</script>

<style>
</style>
